From: IOhannes m zmölnig Date: Wed, 4 Apr 2018 19:39:07 +0000 (+0200) Subject: Run unit-tests in fake-X environment X-Git-Tag: archive/raspbian/0.15.4+ds1-1+rpi1^2~55 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3d2faea8b877f825eef99f122d868d2d36451a12;p=giada.git Run unit-tests in fake-X environment --- diff --git a/debian/control b/debian/control index 3729a14..da89bea 100644 --- a/debian/control +++ b/debian/control @@ -19,6 +19,7 @@ Build-Depends: librtmidi-dev (>= 2.1.0~ds0), libjansson-dev, catch, + xvfb, xauth, Standards-Version: 4.1.3 Vcs-Git: https://salsa.debian.org/multimedia-team/giada.git Vcs-Browser: https://salsa.debian.org/multimedia-team/giada diff --git a/debian/rules b/debian/rules index 694c778..e94d64a 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,7 @@ override_dh_auto_configure: override_dh_auto_test: @echo home: $(HOME) - HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false) + HOME=/tmp xvfb-run -a dh_auto_test -a || (grep . test-suite.log giada_test.log; false) override_dh_auto_clean: dh_auto_clean